package org.bsplus.domain;

import javax.persistence.Basic;
import javax.persistence.Entity;

@Entity
public class Project extends AbstractEntity
{
    @Basic(optional = false)
    private String code;

    @Basic(optional = false)
    private String description;

    @Basic(optional = false)
    private Long lastIssueNumber = 0L;

    public String getCode()
    {
        return code;
    }

    public void setCode(String code)
    {
        this.code = code;
    }

    public String getDescription()
    {
        return description;
    }

    public void setDescription(String description)
    {
        this.description = description;
    }

    public Long getLastIssueNumber()
    {
        return lastIssueNumber;
    }

    public void setLastIssueNumber(Long lastIssueNumber)
    {
        this.lastIssueNumber = lastIssueNumber;
    }
}
